package com.metagurukul.informer.service;

import java.sql.SQLException;
import java.util.List;
import com.metagurukul.informer.dao.QuestionsDAO;
import com.metagurukul.informer.valueObjects.Questions;

public class UnansweredService {
	
	public UnansweredService() {}
	/**
	 * 
	 * @return list of unanswered questions
	 * @throws SQLException
	 */
	public List<Questions> unansweredQuestions() throws SQLException {
		QuestionsDAO questionsdao = new QuestionsDAO();
		return questionsdao.getUnanswered();
	}
}
